#ifndef __HCR_H
#define __HCR_H

#include "stm32f10x.h"                  // Device header
#define GPIOCLK1  RCC_APB2Periph_GPIOB
#define GPIOCLK2 RCC_APB2Periph_GPIOA

#define GPIOPOR1  GPIOB
#define GPIOPOR2  GPIOA
#define TRIG  GPIO_Pin_12
#define ECHO  GPIO_Pin_5



void HCR04_init(void);


float  HCR04_m(uint16_t i) ;





#endif









